package com.gxa.meiye.admin.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.meiye.core.pojo.shopManagement.Project;

import java.util.List;

/**
 * @Author cc
 * @PackageName meiye
 * @Package com.gxa.meiye.admin.shop.mapper
 * @Date 2022/7/24 18:07
 * @Version 1.0
 */
public interface ServiceManagementMapper  extends BaseMapper<Project> {

    List<Project> selectAllService();

    Integer selectAllServiceCount();

    void updateByProjectName(Project project);

    void insertAll(Project project);

    Integer putOnSale(Integer id);

    Integer offTheShelf(Integer id);

    Integer selectByProjectName(String name);

    Integer updateProjectByName(Project project);
}
